//
//  FscrollView.h
//  中国太平保险app
//
//  Created by apple on 16/3/15.
//  Copyright © 2016年 rimi. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "CustomPageControl.h"
typedef void(^callBack)(NSInteger index);

@interface FscrollView : UIView
@property(nonatomic,copy) callBack block;
@property(nonatomic,strong) NSArray *imageNames;
@property(nonatomic,assign) BOOL showPageControl;

@property(nonatomic,strong) UIPageControl *pagecontrol;
-(instancetype)initWithFrame:(CGRect)rect imageNames:(NSArray*)imageNames;
-(instancetype )initWithFrame:(CGRect)rect imageNames:(NSArray *)imageNames showPageImage:(BOOL)showPageImg;
-(void)stopTimer;


@end
